<template>
    <div class="header">
       <img src="../assets/logo.png" alt="">
       <span>vue.js</span>
       
      
           <slot></slot>
           
            
       
       
    </div>
</template>
<script>
  export default{

  }
</script>
<style scoped>
    .header{
        height: 44px;
        width: 100%;
        background: #1c6132;
        /*display: flex;*/
        position: fixed;
       
    }
    .header span{
        line-height: 44px;
        color:white;
        font-weight:bold;
        font-size: 20px;
        display: inline-block;
        vertical-align: middle;
    }
   
   
    .header img{
        /*width: 44px;*/
        height: 35px;
        display: inline-block;
        vertical-align: middle;
        padding-left: 15px;
    }
</style>